import service from "@/utils/request"

import LoginWork from "@/utils/LoginWork" 
// 主体查询
export const mainQuery = (pamrs:any) => {
    return service.post<any,any>(`/pcFactorStockQuery/punchRecDetQuery`,pamrs)
}

// 冲裁查询
export const Blanking = (parms:any) => {
    return service.post<any,any>(`/pcFactorStockQuery/punchRecTempQuery`,parms)
}

// 收发类型
export const TransceiverType = () => {
    return service.post<any,any>(`/pcFactorStockQuery/punchRecDetBack`)
}

// 明细删除
export const DetailDeletion = (parms:any) => {
    return LoginWork.post<any,any>(`/pcFactorStockQuery/punchRecDetDelete`,parms)
}

// 日期查询
export const dateQuery = (dateInfo:string) => {
    return service.post<any,any>(`/pcFactorStockQuery/punchInDateQuery?dateInfo=${dateInfo}`)
}

// 收发表单回显
export const TheCommandOutput = (parms:string) => {
    return service.post<any,any>(`/pcFactorStockQuery/punchRecIoBack`,parms)
}

// 冲裁回显
export const Blanking1 = (parms:any) => {
    return service.post<any,any>(`/pcFactorStockQuery/punchRecIoTempBack`,parms)
}

// 批量收料
export const BulkReceiving = (parms:any) => { 
    return LoginWork.post<any,any>(`/pcFactorStockQuery/punchRecDetIo`,parms)
}

// 批次查询
export const BatchQuery = (parms:any) => {
    return service.post<any,any>(`/pcFactorStockQuery/cuttingBatchQuery`,parms)
}